import os

# 设置镜像源和缓存路径
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"
os.environ["HF_HOME"] = "/tmp"  # 可选：自定义缓存位置

from pymilvus import model as milvus_model

embedding_model = milvus_model.DefaultEmbeddingFunction()

